package ${basePackage}.pojo.dao.${module}.${currModule};

import java.util.List;

import com.unswift.annotation.api.ApiEntity;
import com.unswift.annotation.api.ApiField;
import com.unswift.annotation.api.ApiConstructor;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

import ${basePackage}.pojo.dao.PkListDo;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
@SuppressWarnings("serial")
@JsonInclude(Include.NON_NULL)
@ApiEntity(value="${tableComment!''}多条记录删除实体", author="${username}", date="${date}", version="1.0.0")
public class ${entityName}DeleteBatchDo implements PkListDo<#if primaryKeyList??><${primaryKeyList[0].fieldType}></#if>{
	
	<#if fieldList??>
		<#list fieldList as field>
			<#if !field.genericsField && isPrimaryKey && field.primaryKey>
	@ApiField("${field.columnComment!''}集合")
	private List<${field.fieldType}> idList;
			</#if>
		</#list>
	</#if>
	
	@ApiConstructor("默认构造")
	public ${entityName}DeleteBatchDo(){
		super();
	}
	
	@ApiConstructor(value="带参构造", params={@ApiField("删除的主键集合")})
	public ${entityName}DeleteBatchDo(<#list primaryKeyList as field>List<${field.fieldType}> idList</#list>){
		super();
		this.idList=idList;
	}

}
